home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ttttrrrraaaannnnssssllll((((3333GGGG)))) ttttrrrraaaannnnssssllll((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ttttrrrraaaannnnssssllll - translates the current matrix
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ttttrrrraaaannnnssssllll((((xxxx,,,, yyyy,,,, zzzz))))
- rrrreeeeaaaallll xxxx,,,, yyyy,,,, zzzz
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x expects the _x coordinate of a point.
-
- _y expects the _y coordinate of a point.
-
- _z expects the _z coordinate of a point.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ttttrrrraaaannnnssssllll moves the coordinate system origin to a point specified in the
- current coordinate system. The _x, _y, and _z coordinates are used to
- compute a 4x4 translation matrix, which then premultiplies the current
- matrix, as specified by mmmmmmmmooooddddeeee. Thus if _T is the current matrix, and _X is
- the translation matrix computed by ttttrrrraaaannnnssssllll, _T is replaced with _X*_T.
-
- The current matrix is the top matrix on the transformation stack if mmmmmmmmooooddddeeee
- is MMMMSSSSIIIINNNNGGGGLLLL, the top matrix on the ModelView matrix stack if mmmmmmmmooooddddeeee is
- MMMMVVVVIIIIEEEEWWWWIIII, the Projection matrix if mmmmmmmmooooddddeeee is MMMMPPPPRRRROOOOJJJJEEEE, or the Texture matrix
- if mmmmmmmmooooddddeeee is MMMMTTTTEEEEXXXXTTTTUUUU.
-
- All objects drawn after ttttrrrraaaannnnssssllll is called while mmmmmmmmooooddddeeee is either MMMMSSSSIIIINNNNGGGGLLLL or
- MMMMVVVVIIIIEEEEWWWWIIII are translated. Use ppppuuuusssshhhhmmmmaaaa and ppppooooppppmmmmaaaatttt to preserve and restore the
- untranslated coordinate system.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- mmode, popmat, pushma, rotate, scale
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-